package com.ydkj.a37e_mall.Classes.Model.Response;

import com.ydkj.a37e_mall.Classes.Model.Base.GoodsInfo;

import java.io.Serializable;
import java.util.List;

/**
 * Created by hong on 2016/3/24.
 */
public class ShoppingCarListResp implements Serializable {


    /**
     * errno : 000
     * errmsg :
     * result : {"data":[{"id":"15","product_id":"16","list_title":"iPhone6","title":"iPhone6(白色,16G)","name":"iPhone6","type":"","price":"2100.00","thumb":"http://oka115078.bkt.clouddn.com/o_1b7f4fpk4alb1s17kah1cq81j019.png","numbers":"6","is_wholesales":0,"product":[{"standard_type":"颜色","standard_name":"白色"},{"standard_type":"内存","standard_name":"16G"}],"activity_id":"0","is_integral":"","now_price":"2100.00","total_integral":"","created_at":"2017-02-19 16:57:34","updated_at":"2017-02-19 16:57:47"}],"total_page":4,"current_page":1,"total":"4","access_token":"pq7MxaKZmMuf2JeUrNjKl6LRnZRp"}
     */

    private String errno;
    private String errmsg;
    private ResultEntity result;

    public String getErrno() {
        return errno;
    }

    public void setErrno(String errno) {
        this.errno = errno;
    }

    public String getErrmsg() {
        return errmsg;
    }

    public void setErrmsg(String errmsg) {
        this.errmsg = errmsg;
    }

    public ResultEntity getResult() {
        return result;
    }

    public void setResult(ResultEntity result) {
        this.result = result;
    }

    public static class ResultEntity implements Serializable{
        /**
         * data : [{"id":"15","product_id":"16","list_title":"iPhone6","title":"iPhone6(白色,16G)","name":"iPhone6","type":"","price":"2100.00","thumb":"http://oka115078.bkt.clouddn.com/o_1b7f4fpk4alb1s17kah1cq81j019.png","numbers":"6","is_wholesales":0,"product":[{"standard_type":"颜色","standard_name":"白色"},{"standard_type":"内存","standard_name":"16G"}],"activity_id":"0","is_integral":"","now_price":"2100.00","total_integral":"","created_at":"2017-02-19 16:57:34","updated_at":"2017-02-19 16:57:47"}]
         * total_page : 4
         * current_page : 1
         * total : 4
         * access_token : pq7MxaKZmMuf2JeUrNjKl6LRnZRp
         */

        private int total_page;
        private int current_page;
        private String total;
        private String access_token;
        private List<GoodsInfo> data;

        public int getTotal_page() {
            return total_page;
        }

        public void setTotal_page(int total_page) {
            this.total_page = total_page;
        }

        public int getCurrent_page() {
            return current_page;
        }

        public void setCurrent_page(int current_page) {
            this.current_page = current_page;
        }

        public String getTotal() {
            return total;
        }

        public void setTotal(String total) {
            this.total = total;
        }

        public String getAccess_token() {
            return access_token;
        }

        public void setAccess_token(String access_token) {
            this.access_token = access_token;
        }

        public List<GoodsInfo> getData() {
            return data;
        }

        public void setData(List<GoodsInfo> data) {
            this.data = data;
        }

    }
}
